package com.ruoyi.project.module.report.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 报告管理对象 tb_report
 * 
 * @author javen
 * @date 2020-12-20
 */
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 摘要 */
    private String summary;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 正文 */
    private String content;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 原始链接 */
    private String sourceUrl;

    /** 预览链接 */
    private String previewUrl;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 下载链接 */
    private String downloadUrl;

    /** 报告类型 */
    @Excel(name = "报告类型")
    private String type;

    /** 点数 */
    private Long points;

    /** 价格 */
    private BigDecimal price;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 存储路径 */
    private String storedFilePath;

    /** 上传的文件名称 */
    private String uploadedFileName;

    /** 文件名称 */
    private String storedFileName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSummary(String summary)
    {
        this.summary = summary;
    }

    public String getSummary()
    {
        return summary;
    }
    public void setSource(String source)
    {
        this.source = source;
    }

    public String getSource()
    {
        return source;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }
    public void setSourceUrl(String sourceUrl)
    {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUrl()
    {
        return sourceUrl;
    }
    public void setPreviewUrl(String previewUrl)
    {
        this.previewUrl = previewUrl;
    }

    public String getPreviewUrl()
    {
        return previewUrl;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setDownloadUrl(String downloadUrl)
    {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl()
    {
        return downloadUrl;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setPoints(Long points)
    {
        this.points = points;
    }

    public Long getPoints()
    {
        return points;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setStoredFilePath(String storedFilePath)
    {
        this.storedFilePath = storedFilePath;
    }

    public String getStoredFilePath()
    {
        return storedFilePath;
    }
    public void setUploadedFileName(String uploadedFileName)
    {
        this.uploadedFileName = uploadedFileName;
    }

    public String getUploadedFileName()
    {
        return uploadedFileName;
    }
    public void setStoredFileName(String storedFileName)
    {
        this.storedFileName = storedFileName;
    }

    public String getStoredFileName()
    {
        return storedFileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("summary", getSummary())
            .append("source", getSource())
            .append("content", getContent())
            .append("releaseTime", getReleaseTime())
            .append("sourceUrl", getSourceUrl())
            .append("previewUrl", getPreviewUrl())
            .append("industry", getIndustry())
            .append("downloadUrl", getDownloadUrl())
            .append("type", getType())
            .append("points", getPoints())
            .append("price", getPrice())
            .append("uploadTime", getUploadTime())
            .append("storedFilePath", getStoredFilePath())
            .append("uploadedFileName", getUploadedFileName())
            .append("storedFileName", getStoredFileName())
            .toString();
    }
}
